<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="jt" uri="/jqueryTags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String themePath = (String) session.getAttribute("themePath");
	themePath = (themePath == null ? "default" : themePath);
%>


<head>
	<base href="<%=basePath%>">
	<title>综合业务门户</title>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<script type="text/javascript"
		src="js/jquery/common/min/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="js/jquery/common/jquery.portal.js"></script>
	<script type="text/javascript" src="js/jquery/portal/json2.js"></script>
	<script type="text/javascript" src="js/jquery/portal/leftDataTree.js"></script>
	<script type="text/javascript" src="js/jquery/portal/grid.js"></script>
	<script type="text/javascript" src="js/jquery/portal/leftTree.js"></script>
	<script type="text/javascript" src="js/jquery/portal/rightDataGrid.js"></script>
	<script type="text/javascript" src="js/jquery/portal/rightDataForm.js"></script>
	<script type="text/javascript" src="js/jquery/portal/rightDataPage.js"></script>
	<script type="text/javascript"
		src="js/jquery/common/jquery.json-2.3.js"></script>
	<script type="text/javascript"
		src="js/jquery/portal/rightDataSearch.js"></script>
	<script type="text/javascript"
		src="js/jquery/easyui/min/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="js/jquery/validate/validate.js"></script>
	<link rel="stylesheet" type="text/css"
		href="resources/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css"
		href="resources/easyui/default/icon/icon.css">
	<link rel="stylesheet" type="text/css"
		href="resources/easyui/default/color.css">
	<link rel="stylesheet" type="text/css"
		href="resources/easyui/default/common.css">
	<script type="text/javascript">
		//得到父页面的theme并刷新页面
		function changeTheme()
		{
			links = parent.document.getElementsByTagName("link");
			for (i = 0; links[i]; i++) 
			{
				if(links[i].getAttribute("href").indexOf("themeswitchertool") != -1)
				{
					var cssLink = $('<link href="' + links[i].getAttribute("href") + '" type="text/css" rel="Stylesheet" class="ui-theme" />');
					$("head").append(cssLink);
				}
			}
		}
		$(document).ready(changeTheme);
	</script>
	<jt:debug debug="true"></jt:debug>
</head>
